@import '~@alife/aisc-core/purple/scss/index.scss';
/**
 * 页面级样式文件
 */

@import '~@alife/aone-core/variables/index.scss';

.base-setting-main {
  max-width: 1000px;
  .setting-loading {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .base-form {
    .form-top {
      display: flex;
      justify-content: flex-start;
      // align-items: center;
      margin-bottom: 16px;
      .project-image-wrapper {
        height: 80px;
        margin-right: 24px;
        .project-image-upload {
          .#{$teamix-prefix}upload-list-item {
            margin-right: 0;
          }
          .#{$teamix-prefix}upload-list-item-handler {
            margin-top: 2px;
          }
          .#{$teamix-prefix}upload-list-item-wrapper {
            border-radius: 4px;
            overflow: hidden;
          }
          .#{$teamix-prefix}upload-list-item-name {
            display: none;
          }
          // FIXME fusion配置
          .#{$teamix-prefix}upload-list-item-wrapper,
          .#{$teamix-prefix}upload-card {
            width: 80px;
            height: 80px;
          }
        }
      }
      .project-name-wrapper {
        flex: 2;
        .#{$teamix-prefix}form-item {
          margin-bottom: 0;
          label {
            &:before {
              content: none;
            }
            &:after {
              margin-left: 4px;
              content: '*';
              color: var(--form-error-color, #ed675a);
            }
          }
        }
      }
      .project-id-wrapper {
        width: 250px;
        flex: 1;
      }
    }
  }

  .storage-form {
    .progress-wrapper {
      display: flex;
      align-items: center;
    }
    .progress-info {
      margin: 10px 0 18px;
      width: 300px;
    }
    .setting-progress-content {
      display: flex;
      align-items: center;
    }
    .progress-tip {
      margin-left: 8px;
    }
  }

  .setting-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    &-left {
      flex: 1;
    }
    &-right {
      width: 100px;
      text-align: right;
    }
  }
  .disabled-tranfer-tip {
    text-align: left;
    line-height: 17px;
    font-size: 12px;
    color: #a6a6a6;
    letter-spacing: 0;
  }
  .pass-content {
    display: inline-block;
    color: #333;
    margin-bottom: 12px;
  }

  .clear-btn-text {
    display: flex;
    align-items: center;
    .text {
      text-align: left;
      line-height: 20px;
      font-size: 12px;
      color: #a6a6a6;
      letter-spacing: 0;
      margin-left: 12px;
    }
  }
}

.dangerous-card,
.baseform-card {
  overflow: visible;
  display: flow-root;
  .#{$teamix-prefix}card-content {
    overflow: visible;
  }
}

.gc-confirm-info {
  margin: 8px 0;
  font-size: 14px;
  line-height: 20px;
  color: $gray-08;
}

.storage-form {
  .progress-wrapper {
    display: flex;
    align-items: center;
  }
  .progress-info {
    margin: 10px 0 18px;
    width: 300px;
  }
  .setting-progress-content {
    display: flex;
    align-items: center;
  }
  .progress-tip {
    margin-left: 8px;
  }
}
